$module-width: 190px;
$scroll-width: 17px;

.page-instrument{
  background-color: #232627;
  padding: 3px;
  width: $module-width;
}

.instrument-scroll{
  height: 100%;
  width: $module-width + $scroll-width;
  overflow-y: scroll;
  overflow-x: hidden;

  &::-webkit-scrollbar {
    width: $scroll-width;
    height: $scroll-width;
  }
}

.instrument-module{
  border-radius: 4px;
  
  &+&{
    margin-top: 3px;
  }

  &.expand{
    .instrument-module-content{
      display: block;
    }
  }
}

.instrument-module-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #373d3f;
  font-size: 13px;
  padding: 4px 5px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  user-select: none;
}

.instrument-module-content{
  background-color: #464d4f;
  display: none;
  padding: 3px;
  border-radius: 0 0 4px 4px;
}

.canvas-thumb{
  display: block;
  background: url(../../assets/images/square-bg.png) repeat top left;
  background-size: 40px 40px;
}